//
//  NetworkEngine.h
//  Basic
//
//  Created by 裴烨烽 on 16/5/23.
//  Copyright © 2016年 BasicPod. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>
#import "BaseNetworkConstants.h"

typedef void (^FetchCompletionHandler) (BOOL isSucceeded,id responseObject, NSError *error);

@interface NetworkEngine : AFHTTPSessionManager

-(void)fetchWithPath:(NSString *)path requestParams:(NSDictionary *)requestParams responseObjectClass:(Class)responseObjectClass succeededBlock:(FetchCompletionHandler)block;


@end
